multiplication tables program in python